var frisby = require('frisby');

frisby.create('单发程序包确认下载接口')
  .post('http://192.168.247.88:9090/hub/device/save-airportsefp-updatelog', {
      'device-udid':'092700B6-2E6F-45D7-B55D-AEFACED48DDC',
      'json-value':Array// json-value= [{"airportsefp-item-uuid":"单发程序条目历史UUID"},{"airportsefp-item-uuid":"单发程序条目历史UUID"}]
    })
    // .inspectJSON()
  .expectJSONTypes('', {})//没有返回值
  .expectStatus(200)
.toss();

frisby.create('错误信息')
  .post('http://192.168.247.88:9090/hub/device/save-airportsefp-updatelog', {
      'device-udid':'092700B6-2E6F-45D7-B55D-AEFACED48DDC',
      'json-value':Array
    })
    // .inspectJSON()
  .expectJSONTypes({
    'error-code':'013',
    'error-message':'错误信息'
  })
  .expectStatus(200)
.toss();
